package T2;

public class Ejemplo9 {

    public static void main(String[] args) {
        for (int i = 0; i < 100; i++) {
            char caracter = (char) (Math.random() * 26 + 'a');
            System.out.print(caracter + ": ");
            switch (caracter) {
                case 'a':
                case 'e':
                case 'i':
                case 'o':
                case 'u':
                    System.out.println("vocal");
                    break;
                default:
                    System.out.println("consonante");
            }
        }
    }
}
